package com.codeduck.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 董代恒
 * @version 1.0
 */
@Data
@ApiModel(value = "标签表")
public class CodeDuckTagDTO {
    @ApiModelProperty(value = "标签ID")
    private String id;

    @ApiModelProperty(value = "标签名称")
    private String name;

    @ApiModelProperty(value = "标签描述")
    private String description;

    @ApiModelProperty(value = "父标签ID，为空表示一级标签")
    private String parentId;

    @ApiModelProperty(value = "排序字段")
    private String sort;
}
